package com.example.pet.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.pet.dao.PostDao;
import com.example.pet.entity.Post;
import com.example.pet.service.PostService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * �������(Post)表服务实现类
 *
 * @author makejava
 * @since 2023-05-13 10:46:46
 */
@Service
public class PostServiceImpl  implements PostService {
    @Resource
    private PostDao postDao;
    @Override
    public List<Post> getAll() {
        return postDao.selectList(null);
    }
}

